[INFO] cloning repository https://github.com/ColonelBucket8/rust-project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ColonelBucket8/rust-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColonelBucket8%2Frust-project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColonelBucket8%2Frust-project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 81ebfadc1335fbcaf26fc20766950a76715f5e3e
[INFO] fixing ColonelBucket8/rust-project against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColonelBucket8%2Frust-project" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ColonelBucket8/rust-project
[INFO] finished tweaking git repo https://github.com/ColonelBucket8/rust-project
[INFO] tweaked toml for git repo https://github.com/ColonelBucket8/rust-project written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ColonelBucket8/rust-project on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ColonelBucket8/rust-project already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a9493f4fcc93f116334324445122d7e0dfd00cf9199a5e03a6b95eedf6a4a1df
[INFO] running `Command { std: "docker" "start" "a9493f4fcc93f116334324445122d7e0dfd00cf9199a5e03a6b95eedf6a4a1df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a9493f4fcc93f116334324445122d7e0dfd00cf9199a5e03a6b95eedf6a4a1df" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a9493f4fcc93f116334324445122d7e0dfd00cf9199a5e03a6b95eedf6a4a1df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a9493f4fcc93f116334324445122d7e0dfd00cf9199a5e03a6b95eedf6a4a1df" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.134
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rust-project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/common.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/unsafe_rust.rs (2 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/unsafe_rust.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/unsafe_rust.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/integration_test.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.65s
[INFO] [stderr] crater-edition-check: rust-project v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking rust-project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]    --> src/lib.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub struct Guess {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 142 |     value: i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]    --> src/lib.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct Rectangle {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]    --> src/lib.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl Rectangle {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 117 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]    --> src/lib.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub struct Guess {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 142 |     value: i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prints_and_returns_10` is never used
[INFO] [stdout]    --> src/lib.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn prints_and_returns_10(a: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JoinHandle`
[INFO] [stdout]  --> src/multi_thread.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::{self, JoinHandle};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `guessing_game::guessing_game`
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use guessing_game::guessing_game;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enter_array`
[INFO] [stdout]   --> src/main.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 | use variables::{enter_array, variables};
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JoinHandle`
[INFO] [stdout]  --> src/multi_thread.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread::{self, JoinHandle};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `guessing_game::guessing_game`
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use guessing_game::guessing_game;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enter_array`
[INFO] [stdout]   --> src/main.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 | use variables::{enter_array, variables};
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advanced_types.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let f: Thunk = Box::new(|| println!("hi"));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advanced_types.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn takes_long_type(f: Thunk) {}
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advanced_types.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generic<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expensive_closure`
[INFO] [stdout]   --> src/closures.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let expensive_closure = |num: u32| -> u32 {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expensive_closure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/closures.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let s = example_closure(String::from("Hello"));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/common_collections.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v1`
[INFO] [stdout]   --> src/common_collections.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let v1 = vec![1, 2, 3];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_v1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `four`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let four = IpAddrKind::V4;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_four`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let six = IpAddrKind::V6;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let home = IpAddr {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let loopback = IpAddr {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home2`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let home2 = IpAddrV2::V4(String::from("127.0.0.1"));
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_home2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback2`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let loopback2 = IpAddrV2::V6(String::from("::1"));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_char`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let some_char = Some('e');
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/enum_and_pattern_matching.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/enum_and_pattern_matching.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_spaces`
[INFO] [stdout]    --> src/enum_and_pattern_matching.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn move_player(num_spaces: u8) {}
[INFO] [stdout]     |                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file_2`
[INFO] [stdout]   --> src/error_handling.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let greeting_file_2 = File::open("hello.txt").unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file_3`
[INFO] [stdout]   --> src/error_handling.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let greeting_file_3 =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer`
[INFO] [stdout]   --> src/generic_types.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let integer = Point { x: 5, y: 10 };
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `float`
[INFO] [stdout]   --> src/generic_types.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let float = Point { x: 1.0, y: 4.0 };
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer_and_float`
[INFO] [stdout]   --> src/generic_types.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let integer_and_float = PointV2 { x: 5, y: 4.0 };
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer_and_float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/oop_pattern.rs:38:27
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/ownership.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let s = "Hello";
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/ownership.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let s1 = gives_ownership(); // gives_ownership moevs its return value into s1
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/ownership.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let s3 = takes_and_gives_back(s2); // s2 is moves into
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/smart_pointers.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil))))));
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/smart_pointers.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let c = CustomSmartPointer {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/smart_pointers.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let d = CustomSmartPointer {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/smart_pointers.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let y = ConsV2(3, Rc::clone(&x));
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/smart_pointers.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let z = ConsV2(4, Rc::clone(&x));
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user3`
[INFO] [stdout]   --> src/structs.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let user3 = User {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user4`
[INFO] [stdout]   --> src/structs.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let user4 = build_user(
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]   --> src/structs.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let black = Color(0, 0, 0);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `origin`
[INFO] [stdout]   --> src/structs.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let origin = Point(0, 0, 0);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]  --> src/the_slice_type.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let word = first_word_v2(&s);
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/the_slice_type.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hello = &str[0..5];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/the_slice_type.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hello = &str[..5];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]   --> src/the_slice_type.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let world = &str[6..11];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]   --> src/the_slice_type.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let world = &str[6..len];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/the_slice_type.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let slice = &str[0..len];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/the_slice_type.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let slice = &str[..];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]    --> src/traits.rs:100:18
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn notify_v3(items: &(impl Summary + Display)) {}
[INFO] [stdout]     |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/traits.rs:102:40
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn notify_v4<T: Summary + Display>(item: &T) {}
[INFO] [stdout]     |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/traits.rs:105:56
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn some_function<T: Display + Clone, U: Clone + Debug>(t: &T, u: &U) -> i32 {
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/traits.rs:105:63
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn some_function<T: Display + Clone, U: Clone + Debug>(t: &T, u: &U) -> i32 {
[INFO] [stdout]     |                                                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/traits.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn some_function_v2<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/traits.rs:109:34
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn some_function_v2<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/unsafe_rust.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `returns_closure` is never used
[INFO] [stdout]   --> src/advanced_functions_and_closures.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn returns_closure() -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]  --> src/advanced_traits.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Counter {}
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Iterator` is never used
[INFO] [stdout]   --> src/advanced_traits.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Iterator<T> {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Millimeters` is never constructed
[INFO] [stdout]   --> src/advanced_traits.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct Millimeters(u32);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Meters` is never constructed
[INFO] [stdout]   --> src/advanced_traits.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Meters(u32);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OutlinePrint` is never used
[INFO] [stdout]   --> src/advanced_traits.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 | trait OutlinePrint: fmt::Display {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Write` is never used
[INFO] [stdout]  --> src/advanced_types.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Write {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_long_type` is never used
[INFO] [stdout]   --> src/advanced_types.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn takes_long_type(f: Thunk) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic` is never used
[INFO] [stdout]   --> src/advanced_types.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generic<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]   --> src/closures.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Rectangle {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 39 |     width: u32,
[INFO] [stdout] 40 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]   --> src/closures.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct Shoe {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]    --> src/closures.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/common_collections.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Int(i32),
[INFO] [stdout]   |     --- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 5 -     Int(i32),
[INFO] [stdout] 5 +     Int(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/common_collections.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Float(f64),
[INFO] [stdout]   |     ----- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 -     Float(f64),
[INFO] [stdout] 6 +     Float(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/common_collections.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Text(String),
[INFO] [stdout]   |     ---- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Text(String),
[INFO] [stdout] 7 +     Text(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enum_and_pattern_matching.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     V4(String),
[INFO] [stdout] 7 +     V4(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enum_and_pattern_matching.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     V6(String),
[INFO] [stdout] 8 +     V6(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Write(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 15 -     Write(String),
[INFO] [stdout] 15 +     Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum Message {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 13 |     Quit,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 14 |     Move { x: i32, y: i32 },
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     Write(String),
[INFO] [stdout] 16 |     ChangeColor(i32, i32, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kind` and `address` are never read
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct IpAddr {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 26 |     kind: IpAddrKind,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     address: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Alabama` is never constructed
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum UsState {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 32 |     Alabama,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 38 |     Penny,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     Nickel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 40 |     Dime,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reroll` is never used
[INFO] [stdout]    --> src/enum_and_pattern_matching.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn reroll() {}
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `value` is never used
[INFO] [stdout]   --> src/error_handling.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Guess {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn value(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_file` is never used
[INFO] [stdout]   --> src/error_handling.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn open_file() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `last_char_of_first_line` is never used
[INFO] [stdout]    --> src/error_handling.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `five` is never used
[INFO] [stdout]   --> src/functions.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn five() -> i32 {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]   --> src/functions.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn plus_one(x: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]  --> src/generic_types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Point<T> {
[INFO] [stdout]   |        ----- field in this struct
[INFO] [stdout] 4 |     x: T,
[INFO] [stdout] 5 |     y: T,
[INFO] [stdout]   |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/generic_types.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct PointV2<T, U> {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout]  9 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     y: U,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-project` (bin "rust-project") due to 1 previous error; 116 warnings emitted
[INFO] [stdout] warning: methods `x` and `y` are never used
[INFO] [stdout]   --> src/generic_types.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<T> Point<T> {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 19 |     fn x(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn y(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: method `distance_from_origin` is never used
[INFO] [stdout]   --> src/generic_types.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Point<f32> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 28 |     fn distance_from_origin(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `guessing_game` is never used
[INFO] [stdout]  --> src/guessing_game.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn guessing_game() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `level` is never used
[INFO] [stdout]  --> src/lifetimes.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl<'a> ImportantExcerpt<'a> {
[INFO] [stdout]   | ----------------------------- method in this implementation
[INFO] [stdout] 8 |     fn level(&self) -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HelloMacro` is never used
[INFO] [stdout]  --> src/macros.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait HelloMacro {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pancakes` is never constructed
[INFO] [stdout]  --> src/macros.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Pancakes;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AveragedCollection` is never constructed
[INFO] [stdout]  --> src/oop.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct AveragedCollection {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `remove`, `average`, and `update_average` are never used
[INFO] [stdout]   --> src/oop.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl AveragedCollection {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout]  7 |     pub fn add(&mut self, value: i32) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn remove(&mut self) -> Option<i32> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn average(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn update_average(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `label` are never read
[INFO] [stdout]   --> src/oop.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Button {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 50 |     pub width: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 51 |     pub height: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 52 |     pub label: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `options` are never read
[INFO] [stdout]   --> src/oop.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct SelectBox {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 60 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 61 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 62 |     options: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rgb` is never constructed
[INFO] [stdout]    --> src/patterns_and_matching.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     enum Color {
[INFO] [stdout]     |          ----- variant in this enum
[INFO] [stdout] 123 |         Rgb(i32, i32, i32),
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `Write` are never constructed
[INFO] [stdout]    --> src/patterns_and_matching.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |     enum Message {
[INFO] [stdout]     |          ------- variants in this enum
[INFO] [stdout] 128 |         Quit,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 129 |         Move { x: i32, y: i32 },
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 130 |         Write(String),
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/patterns_and_matching.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 182 |         x: i32,
[INFO] [stdout] 183 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 184 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/smart_pointers.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Cons(i32, Box<List>),
[INFO] [stdout] 9 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointers.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ConsV2(i32, Rc<ListV2>),
[INFO] [stdout]    |     ------ ^^^  ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 14 -     ConsV2(i32, Rc<ListV2>),
[INFO] [stdout] 14 +     ConsV2((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointers.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     ConsV3(Rc<RefCell<i32>>, Rc<ListV3>),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ListV3` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 20 -     ConsV3(Rc<RefCell<i32>>, Rc<ListV3>),
[INFO] [stdout] 20 +     ConsV3((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/smart_pointers.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ConsV4(i32, RefCell<Rc<ListV4>>),
[INFO] [stdout]    |     ------ ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ListV4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 26 -     ConsV4(i32, RefCell<Rc<ListV4>>),
[INFO] [stdout] 26 +     ConsV4((), RefCell<Rc<ListV4>>),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]   --> src/smart_pointers.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait Messenger {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LimitTracker` is never constructed
[INFO] [stdout]   --> src/smart_pointers.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/smart_pointers.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 51 | | where
[INFO] [stdout] 52 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 53 |   {
[INFO] [stdout] 54 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/smart_pointers.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 90 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 91 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 92 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active`, `username`, and `sign_in_count` are never read
[INFO] [stdout]  --> src/structs.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 2 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 3 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 4 |     email: String,
[INFO] [stdout] 5 |     sign_in_count: u64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]  --> src/structs.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Color(i32, i32, i32);
[INFO] [stdout]   |        ----- ^^^  ^^^  ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        fields in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]  --> src/structs.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Point(i32, i32, i32);
[INFO] [stdout]   |        ----- ^^^  ^^^  ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        fields in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]   --> src/the_slice_type.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn first_word(s: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]   --> src/traits.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/traits.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 47 |     pub username: String,
[INFO] [stdout] 48 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 49 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 50 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_v2` is never used
[INFO] [stdout]   --> src/traits.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn notify_v2<T: Summary>(item: &T) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_v3` is never used
[INFO] [stdout]    --> src/traits.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn notify_v3(items: &(impl Summary + Display)) {}
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_v4` is never used
[INFO] [stdout]    --> src/traits.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn notify_v4<T: Summary + Display>(item: &T) {}
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]    --> src/traits.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn some_function<T: Display + Clone, U: Clone + Debug>(t: &T, u: &U) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function_v2` is never used
[INFO] [stdout]    --> src/traits.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn some_function_v2<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]  --> src/unsafe_rust.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | unsafe trait Foo {}
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enter_array` is never used
[INFO] [stdout]   --> src/variables.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn enter_array() {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/unsafe_rust.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advanced_types.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let f: Thunk = Box::new(|| println!("hi"));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advanced_types.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn takes_long_type(f: Thunk) {}
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advanced_types.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generic<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expensive_closure`
[INFO] [stdout]   --> src/closures.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let expensive_closure = |num: u32| -> u32 {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expensive_closure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/closures.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let s = example_closure(String::from("Hello"));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/common_collections.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v1`
[INFO] [stdout]   --> src/common_collections.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let v1 = vec![1, 2, 3];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_v1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `four`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let four = IpAddrKind::V4;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_four`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let six = IpAddrKind::V6;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let home = IpAddr {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let loopback = IpAddr {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home2`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let home2 = IpAddrV2::V4(String::from("127.0.0.1"));
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_home2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback2`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let loopback2 = IpAddrV2::V6(String::from("::1"));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_char`
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let some_char = Some('e');
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/enum_and_pattern_matching.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut count = 0;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/enum_and_pattern_matching.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_spaces`
[INFO] [stdout]    --> src/enum_and_pattern_matching.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn move_player(num_spaces: u8) {}
[INFO] [stdout]     |                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file_2`
[INFO] [stdout]   --> src/error_handling.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let greeting_file_2 = File::open("hello.txt").unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file_3`
[INFO] [stdout]   --> src/error_handling.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let greeting_file_3 =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer`
[INFO] [stdout]   --> src/generic_types.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let integer = Point { x: 5, y: 10 };
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `float`
[INFO] [stdout]   --> src/generic_types.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let float = Point { x: 1.0, y: 4.0 };
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer_and_float`
[INFO] [stdout]   --> src/generic_types.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let integer_and_float = PointV2 { x: 5, y: 4.0 };
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer_and_float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/oop_pattern.rs:38:27
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/ownership.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let s = "Hello";
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/ownership.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let s1 = gives_ownership(); // gives_ownership moevs its return value into s1
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/ownership.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let s3 = takes_and_gives_back(s2); // s2 is moves into
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/smart_pointers.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil))))));
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/smart_pointers.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let c = CustomSmartPointer {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/smart_pointers.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let d = CustomSmartPointer {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/smart_pointers.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let y = ConsV2(3, Rc::clone(&x));
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/smart_pointers.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let z = ConsV2(4, Rc::clone(&x));
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user3`
[INFO] [stdout]   --> src/structs.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let user3 = User {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user4`
[INFO] [stdout]   --> src/structs.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let user4 = build_user(
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]   --> src/structs.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let black = Color(0, 0, 0);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `origin`
[INFO] [stdout]   --> src/structs.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let origin = Point(0, 0, 0);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]  --> src/the_slice_type.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let word = first_word_v2(&s);
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/the_slice_type.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hello = &str[0..5];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/the_slice_type.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hello = &str[..5];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]   --> src/the_slice_type.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let world = &str[6..11];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]   --> src/the_slice_type.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let world = &str[6..len];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/the_slice_type.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let slice = &str[0..len];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/the_slice_type.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let slice = &str[..];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]    --> src/traits.rs:100:18
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn notify_v3(items: &(impl Summary + Display)) {}
[INFO] [stdout]     |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/traits.rs:102:40
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn notify_v4<T: Summary + Display>(item: &T) {}
[INFO] [stdout]     |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/traits.rs:105:56
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn some_function<T: Display + Clone, U: Clone + Debug>(t: &T, u: &U) -> i32 {
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/traits.rs:105:63
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn some_function<T: Display + Clone, U: Clone + Debug>(t: &T, u: &U) -> i32 {
[INFO] [stdout]     |                                                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/traits.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn some_function_v2<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/traits.rs:109:34
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn some_function_v2<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/unsafe_rust.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `returns_closure` is never used
[INFO] [stdout]   --> src/advanced_functions_and_closures.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn returns_closure() -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]  --> src/advanced_traits.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Counter {}
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Iterator` is never used
[INFO] [stdout]   --> src/advanced_traits.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Iterator<T> {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Millimeters` is never constructed
[INFO] [stdout]   --> src/advanced_traits.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct Millimeters(u32);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Meters` is never constructed
[INFO] [stdout]   --> src/advanced_traits.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Meters(u32);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OutlinePrint` is never used
[INFO] [stdout]   --> src/advanced_traits.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 | trait OutlinePrint: fmt::Display {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Write` is never used
[INFO] [stdout]  --> src/advanced_types.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Write {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_long_type` is never used
[INFO] [stdout]   --> src/advanced_types.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn takes_long_type(f: Thunk) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic` is never used
[INFO] [stdout]   --> src/advanced_types.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generic<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]   --> src/closures.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Rectangle {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 39 |     width: u32,
[INFO] [stdout] 40 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/common_collections.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Int(i32),
[INFO] [stdout]   |     --- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 5 -     Int(i32),
[INFO] [stdout] 5 +     Int(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/common_collections.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Float(f64),
[INFO] [stdout]   |     ----- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 -     Float(f64),
[INFO] [stdout] 6 +     Float(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/common_collections.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Text(String),
[INFO] [stdout]   |     ---- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Text(String),
[INFO] [stdout] 7 +     Text(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enum_and_pattern_matching.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     V4(String),
[INFO] [stdout] 7 +     V4(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enum_and_pattern_matching.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     V6(String),
[INFO] [stdout] 8 +     V6(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Write(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 15 -     Write(String),
[INFO] [stdout] 15 +     Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum Message {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 13 |     Quit,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 14 |     Move { x: i32, y: i32 },
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     Write(String),
[INFO] [stdout] 16 |     ChangeColor(i32, i32, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kind` and `address` are never read
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct IpAddr {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 26 |     kind: IpAddrKind,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     address: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Alabama` is never constructed
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum UsState {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 32 |     Alabama,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed
[INFO] [stdout]   --> src/enum_and_pattern_matching.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 38 |     Penny,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     Nickel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 40 |     Dime,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reroll` is never used
[INFO] [stdout]    --> src/enum_and_pattern_matching.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn reroll() {}
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `value` is never used
[INFO] [stdout]   --> src/error_handling.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Guess {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn value(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_file` is never used
[INFO] [stdout]   --> src/error_handling.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn open_file() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `last_char_of_first_line` is never used
[INFO] [stdout]    --> src/error_handling.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `five` is never used
[INFO] [stdout]   --> src/functions.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn five() -> i32 {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]   --> src/functions.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn plus_one(x: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]  --> src/generic_types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Point<T> {
[INFO] [stdout]   |        ----- field in this struct
[INFO] [stdout] 4 |     x: T,
[INFO] [stdout] 5 |     y: T,
[INFO] [stdout]   |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/generic_types.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct PointV2<T, U> {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout]  9 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     y: U,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `x` and `y` are never used
[INFO] [stdout]   --> src/generic_types.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<T> Point<T> {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 19 |     fn x(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn y(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance_from_origin` is never used
[INFO] [stdout]   --> src/generic_types.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Point<f32> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 28 |     fn distance_from_origin(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `guessing_game` is never used
[INFO] [stdout]  --> src/guessing_game.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn guessing_game() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `level` is never used
[INFO] [stdout]  --> src/lifetimes.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl<'a> ImportantExcerpt<'a> {
[INFO] [stdout]   | ----------------------------- method in this implementation
[INFO] [stdout] 8 |     fn level(&self) -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HelloMacro` is never used
[INFO] [stdout]  --> src/macros.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait HelloMacro {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pancakes` is never constructed
[INFO] [stdout]  --> src/macros.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Pancakes;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AveragedCollection` is never constructed
[INFO] [stdout]  --> src/oop.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct AveragedCollection {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `remove`, `average`, and `update_average` are never used
[INFO] [stdout]   --> src/oop.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl AveragedCollection {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout]  7 |     pub fn add(&mut self, value: i32) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn remove(&mut self) -> Option<i32> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn average(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn update_average(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `label` are never read
[INFO] [stdout]   --> src/oop.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Button {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 50 |     pub width: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 51 |     pub height: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 52 |     pub label: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `options` are never read
[INFO] [stdout]   --> src/oop.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct SelectBox {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 60 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 61 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 62 |     options: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rgb` is never constructed
[INFO] [stdout]    --> src/patterns_and_matching.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     enum Color {
[INFO] [stdout]     |          ----- variant in this enum
[INFO] [stdout] 123 |         Rgb(i32, i32, i32),
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `Write` are never constructed
[INFO] [stdout]    --> src/patterns_and_matching.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |     enum Message {
[INFO] [stdout]     |          ------- variants in this enum
[INFO] [stdout] 128 |         Quit,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 129 |         Move { x: i32, y: i32 },
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 130 |         Write(String),
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/patterns_and_matching.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 182 |         x: i32,
[INFO] [stdout] 183 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 184 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/smart_pointers.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Cons(i32, Box<List>),
[INFO] [stdout] 9 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointers.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ConsV2(i32, Rc<ListV2>),
[INFO] [stdout]    |     ------ ^^^  ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 14 -     ConsV2(i32, Rc<ListV2>),
[INFO] [stdout] 14 +     ConsV2((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointers.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     ConsV3(Rc<RefCell<i32>>, Rc<ListV3>),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ListV3` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 20 -     ConsV3(Rc<RefCell<i32>>, Rc<ListV3>),
[INFO] [stdout] 20 +     ConsV3((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/smart_pointers.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ConsV4(i32, RefCell<Rc<ListV4>>),
[INFO] [stdout]    |     ------ ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ListV4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 26 -     ConsV4(i32, RefCell<Rc<ListV4>>),
[INFO] [stdout] 26 +     ConsV4((), RefCell<Rc<ListV4>>),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/smart_pointers.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 90 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 91 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 92 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active`, `username`, and `sign_in_count` are never read
[INFO] [stdout]  --> src/structs.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 2 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 3 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 4 |     email: String,
[INFO] [stdout] 5 |     sign_in_count: u64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]  --> src/structs.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Color(i32, i32, i32);
[INFO] [stdout]   |        ----- ^^^  ^^^  ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        fields in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]  --> src/structs.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Point(i32, i32, i32);
[INFO] [stdout]   |        ----- ^^^  ^^^  ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        fields in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]   --> src/the_slice_type.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn first_word(s: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]   --> src/traits.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/traits.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 47 |     pub username: String,
[INFO] [stdout] 48 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 49 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 50 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_v2` is never used
[INFO] [stdout]   --> src/traits.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn notify_v2<T: Summary>(item: &T) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_v3` is never used
[INFO] [stdout]    --> src/traits.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn notify_v3(items: &(impl Summary + Display)) {}
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_v4` is never used
[INFO] [stdout]    --> src/traits.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn notify_v4<T: Summary + Display>(item: &T) {}
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]    --> src/traits.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn some_function<T: Display + Clone, U: Clone + Debug>(t: &T, u: &U) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function_v2` is never used
[INFO] [stdout]    --> src/traits.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn some_function_v2<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]  --> src/unsafe_rust.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | unsafe trait Foo {}
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enter_array` is never used
[INFO] [stdout]   --> src/variables.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn enter_array() {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/unsafe_rust.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-project` (bin "rust-project" test) due to 1 previous error; 111 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a9493f4fcc93f116334324445122d7e0dfd00cf9199a5e03a6b95eedf6a4a1df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9493f4fcc93f116334324445122d7e0dfd00cf9199a5e03a6b95eedf6a4a1df", kill_on_drop: false }`
[INFO] [stdout] a9493f4fcc93f116334324445122d7e0dfd00cf9199a5e03a6b95eedf6a4a1df
